﻿
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace CLVisionModbusTS
{
    internal class Customer
    {
        public List<CustomerObject> Input = new List<CustomerObject>();
        public List<CustomerObject> Output = new List<CustomerObject>();
    }

    internal class CustomerObject
    {
        public int ModbusStartAddress;
        public List<Item> items = new List<Item>();
    }

    internal class Item
    {

        public string Name;
        public string DataType;
        public string ModubusType;
        public int ModbusAddressLenth;
        public bool IsArray;
        public int ArrayLength;
        public int ObjectID;

        public Item(string name, string dataType)
        {
            Name = name;
            DataType = dataType;
        }
    }



}
